package com.example.service2.controller;

import com.example.model.UserInfo;
import com.example.model.UserService;
import org.apache.dubbo.config.annotation.Service;

/**
 * @className: UserServiceImpl
 * @description:
 * @author: yang pan
 */
@Service(timeout = 10000,group = "order")
public class UserServiceImpl implements UserService {


    @Override
    public UserInfo getUser() {

        UserInfo userInfo = new UserInfo();
        userInfo.setUsername("dubbo 杨攀");
        userInfo.setMobile("dubbo 18091681804");
        return userInfo;
    }
}
